package com.limedia.explorer.enums;

import android.R.integer;

/**
 * decode type enum
 * @author ThunderSoft
 *
 */
public class Enums {

	public enum ClientNo {
		Client_ONE,
		Client_TWO,
		Client_THREE,
		Client_INVALID
	}
	
	public enum VideoWidth {
		VIDEO_W_720P(640);
		
		private int i = 0;
		private VideoWidth(int i) {
			this.i = i;
		}
		public int getInt() {
			return this.i;
		}
	}
	
	public enum VideoHeight {
		VIDEO_H_720P(480);
		
		private int i = 0;
		private VideoHeight(int i) {
			this.i = i;
		}
		public int getInt() {
			return this.i;
		}
	}
	
	public enum TSEDecodeType {
		/**
		 * decode type:H264
		 */
		H264,
		/**
		 * decode type:H265
		 */
		H265
	}
	
	/**
	 * RTP play state enum
	 * @author ThunderSoft
	 *
	 */
	public enum TSERTPlayState {
		/**
		 * RTP play state : NoINPUT
		 */
		RT_PLAY_STATE_NOINPUT,
		/**
		 * RTP play state : ERROR
		 */
		RT_PLAY_STATE_ERROR,
		/**
		 * RTP play state : PLAYING
		 */
		RT_PLAY_STATE_PLAYING,
		/**
		 * RTP play state : STOP
		 */
		RT_PLAY_STATE_STOP,
		/**
		 * RTP play state : PARESYNC
		 */
		RT_PLAY_STATE_PARESYNC,
		/**
		 * RTP play state : PARECOMPLETE
		 */
		RT_PLAY_STATE_PARECOMPLETE,
		/**
		 * RTP play state : NO SURFACE
		 */
		RT_PLAY_STATE_NO_SURFACE,
		/**
		 * RTP play state : PREPARE ERROR
		 */
		RT_PLAY_STATE_SUCCESS,
		/**
		 * RTP play state : PREPARE ERROR
		 */
		RT_PLAY_STATE_PREPARE_ERROR,
		/**
		 * RTP play state : INIT DEC FAILURE
		 */
		RT_PLAY_STATE_INIT_DEC_FAILURE,
		/**
		 * RTP play state : GET PPSSPS FAILURE
		 */
		RT_PLAY_STATE_GET_PPSSPS_FAILURE,
		/**
		 * RTP play state : GET PPSSPS OVERTIME
		 */
		RT_PLAY_STATE_GET_PPSSPS_OVERTIME,
		
//		RT_PLAY_STATE_RAW,
//		RT_PLAY_STATE_ISPREPARED,
//		RT_PLAY_STATE_ISPLAYING,
	}
}
